package com.my.screenadapter;

/**
 * Created by zhangyingjie on 2019-10-28
 *
 * @function
 */
public class TestSingleInstance {

    private TestSingleInstance() {
    }

    private static class TestSingleInstanceHolder{
        private static TestSingleInstance instance = new TestSingleInstance();
    }

    public static TestSingleInstance getInstance(){
       return TestSingleInstanceHolder.instance;
    }
}
